package com.model;

import java.util.Date;

/**
 *
 * @author Lang Van Hao
 */
public class Project {

    private int projectID;
    private int projectStatusID;
    private String projectName;
    private String description;
    private Date createDate;

    /**
     * Contructor for ProjectClass
     */
    public Project() {
    }

    /**
     * Contructor for ProjectClass
     * @param projectID
     * @param projectStatusID
     * @param projectName
     * @param description
     * @param createDate
     */
    public Project(int projectID, int projectStatusID, String projectName, String description,
            Date createDate) {
        this.setData(projectID, projectStatusID, projectName, description, createDate);
    }

    /**
     * Method to set data for ProjectClass
     * @param projectID
     * @param projectStatusID
     * @param projectName
     * @param description
     * @param createDate
     */
    public void setData(int projectID, int projectStatusID, String projectName, String description,
            Date createDate) {
        this.setProjectID(projectID);
        this.setProjectStatusID(projectStatusID);
        this.setProjectName(projectName);
        this.setDescription(description);
        this.setCreateDate(createDate);
    }

    /**
     * @return the projectID
     */
    public int getProjectID() {
        return projectID;
    }

    /**
     * @param projectID the projectID to set
     */
    public void setProjectID(int projectID) {
        this.projectID = projectID;
    }

    /**
     * @return the projectStatusID
     */
    public int getProjectStatusID() {
        return projectStatusID;
    }

    /**
     * @param projectStatusID the projectStatusID to set
     */
    public void setProjectStatusID(int projectStatusID) {
        this.projectStatusID = projectStatusID;
    }

    /**
     * @return the projectName
     */
    public String getProjectName() {
        return projectName;
    }

    /**
     * @param projectName the projectName to set
     */
    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate the createDate to set
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
